// typedef为数据类型起别名

#include <stdio.h>

typedef int Interger;
Interger a = 1;

typedef unsigned char Byte;
Byte c = 'Z';

typedef int Int, Int_32, Interger;


// typedef struct TreeNode{
//     //...
// } Tree;

// typedef struct {
//     //...

// } Tree;

typedef union {
    int age;
    char *gender;
} Info;

typedef int* IntPtr;

typedef int fiveInts[5];
typedef int (*IntArrayPointer)[5];


int main(){
    Info info;
    info.age = 19;

    fiveInts x = {1, 2 ,3, 4, 5};
    IntArrayPointer ptr = &x;

    printf("%d\n", x[2]);
    printf("%d\n", (*ptr)[2]);


    return 0;
}